.NET Only (Ignore the `) Generate the RTML (XML) represented by the object model
RTML.`ToXml(IncludeDocHeader, Formatting, EOLType)
The method syntax has these parts:
Part | Description |
---|---|
IncludeDocHeader (Boolean) | True to include the <?xml version="1.0" ?> header as required to make it a full XML document instead of a snippet. |
Formatting (System.Xml.Formatting) | Indicates how the XML should be formatted, Formatting.Indented (default) or Formatting.None. |
EOLType (LiquidTechnologies.Runtime.NET35.EOLType) | Indicates the line endings to use, EOLType.CRLF (default) or EOLType.LF (*nix) |
Return (String) | The RTML (XML) represented by the object model |
This overload provides full control over the generated RTML/XML.
Will raise an exception if the RTML within the object is not valid, i.e. invalid number of entries in a collection.
The (symbolic) values for System.Xml.Formatting are:
Constant | Value | Description |
---|---|---|
None | 0 | None |
Indented | 0 | Indented |
The (symbolic) values for LiquidTechnologies.Runtime.NET35.EOLType are:
Constant | Value | Description |
---|---|---|
CRLF | 0 | Internet/Windows standard |
LF | 0 | Unix standard |